{% extends "front/Base.html" %}
{% block title %}
    <title>用户登陆</title>
{% endblock %}

{% block body %}
    <div class="container-fluid col-4">
        <h5 class="offset-5">用户登录</h5>
        <form method="post">
              <div class="form-group">
                <label for="exampleInputEmail1">邮箱账号</label>
                <input type="email" name="email" class="form-control" id="exampleInputEmail1" aria-describedby="emailHelp">

              </div>
              <div class="form-group">
                <label for="exampleInputPassword1">密码</label>
                <input type="password" name="password" class="form-control" id="exampleInputPassword1">
              </div>

              <button type="submit" class="btn btn-primary col-4 offset-4">登录</button>
        </form>
        <ul>
            {% for message in get_flashed_messages() %}
                <li>{{ message }}</li>
            {% endfor %}
        </ul>
    </div>
{% endblock %}